﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace PiscoSourSOAPTest
{
    /// <summary>
    /// Summary description for UnitTest1
    /// </summary>
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void ValidarAccesoUsuario()
        {
            string login = "admin";
            string pass = "admin";
            ClienteWS.ClientesClient clienteWS = new ClienteWS.ClientesClient();
            var cliente = clienteWS.ValidaCliente(login, pass);
            Assert.IsNotNull(cliente, "La validacion es erronea");
        }
    }
}
